<?php

class Application_Model_Fornecedor {
	protected $_dao;
	
	public function __construct() {
		$this->_dao = new Application_Model_DbTable_TabFornecedor();
	}
		
	public function insert(array $fornecedor) {
		return $this->_dao->insert($fornecedor);
	}
	
	public function delete($id) {
		return $this->_dao->delete("id = {$id}");
	}
}